/**
 * Created by cherrybomb on 2017/11/20.
 */
import React, { Component } from 'react';
import {NavBar} from 'iftide'


export default class Basic2 extends Component{
    constructor(props) {
        super(props);
    }

    leftButtonFunc(){
        console.log('left BUTTON click');

    }
    rightButtonFunc(){
        console.log('right BUTTON click');

    }
    render() {
        let header3= {
            headerType:'header',
            leftButton: '返回',
            title: '境内汇款',
            rightButton:'下一步',
            //buttonFontSize:12,
            leftButtonFunc:this.leftButtonFunc,
            rightButtonFunc:this.rightButtonFunc,
            rightButtonType:'text',
            // backgroundColor:'red',
            color:'green',
            rightButtonColor:'pink',
            leftButtonStyle:{fontSize:10,color:'blue'},
            rightButtonImage:require('../images/myClientServer.png'),
            rightButtonImageStyle:{width:20,height:50,resizeMode:'contain'}
        };
        return (
            <NavBar {...header3}/>
        );
    }
}